﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenSoftStore.Orm.Model;

namespace OpenSoftStore.Orm.Print
{
    public class P_Dinner
    {
        public string AdminName { get; set; }
        public DateTime AddTime { get; set; }
        public string DinnerName { get; set; }
        /// <summary>
        /// 应收款
        /// </summary>
        public decimal NeedPay { get; set; }
        /// <summary>
        /// 实际收款
        /// </summary>
        public decimal RealPay { get; set; }
        /// <summary>
        /// 欠款金额
        /// </summary>
        public decimal OwedMoney { get; set; }

        public decimal MarkUsed { get; set; }

        /// <summary>
        /// 结算时间
        /// </summary>
        public DateTime PayTime { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public string PayType { get; set; }
        /// <summary>
        /// 单据备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 现金支付
        /// </summary>
        public decimal CashPay { get; set; }
        public decimal ValuePay { get; set; }
        /// <summary>
        /// 银行卡转账
        /// </summary>
        public decimal BankPay { get; set; }

        public string MemberName { get; set; }
        public string ShopName { get; set; }
        public string ShopAddress { get; set; }
        public string ShopTel { get; set; }
        public string TreeName { get; set; }
        public string CardId { get; set; }
        /// <summary>
        /// 商品/服务名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal LowestPrice { get; set; }
        /// <summary>
        /// 数量/次数
        /// </summary>
        public int Times { get; set; }
        /// <summary>
        /// 数量/次数
        /// </summary>
        public decimal ItemTotal { get; set; }

        public decimal ItemCount { get; set; }
        public decimal AmountTotal { get; set; }
    }
}
